/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author QUANG2PRO
 */
public class Mail
{
    private int mailID;
    private String userName;
    private String subject;
    private String fromUser;
    private String toUser;
    private String cc;
    private String bcc;
    private String sentDate;
    private String mailContent;
    private boolean hasFile;
    private boolean inbox;
    private boolean isNew;

    public Mail()
    {

    }

    public Mail(int mailID, String userName, String subject, String fromUser, String toUser,
            String cc, String bcc, String sentDate, String mailContent, boolean hasFile,
            boolean inbox, boolean isNew)
    {
        this.mailID = mailID;
        this.userName = userName;
        this.subject = subject;
        this.fromUser = fromUser;
        this.toUser = toUser;
        this.cc = cc;
        this.bcc = bcc;
        this.sentDate = sentDate;
        this.mailContent = mailContent;
        this.hasFile = hasFile;
        this.inbox = inbox;
        this.isNew = isNew;
    }

    public Mail(int mailID, String fromUser, String subject)
    {
        this.mailID = mailID;
        this.fromUser = fromUser;
        this.subject = subject;
    }

    public String getBcc() {
        return bcc;
    }

    public void setBcc(String bcc) {
        this.bcc = bcc;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public boolean isHasFile() {
        return hasFile;
    }

    public void setHasFile(boolean hasFile) {
        this.hasFile = hasFile;
    }

    public boolean isInbox() {
        return inbox;
    }

    public void setInbox(boolean inbox) {
        this.inbox = inbox;
    }

    public boolean isIsNew() {
        return isNew;
    }

    public void setIsNew(boolean isNew) {
        this.isNew = isNew;
    }

    public String getMailContent() {
        return mailContent;
    }

    public void setMailContent(String mailContent) {
        this.mailContent = mailContent;
    }

    public int getMailID() {
        return mailID;
    }

    public void setMailID(int mailID) {
        this.mailID = mailID;
    }

    public String getSentDate() {
        return sentDate;
    }

    public void setSentDate(String sentDate) {
        this.sentDate = sentDate;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    
}
